package org.example;

/**
 * @version: 1
 * @description: java
 * @author: java
 * @create: 2020-06-04 11:42
 **/
public class Person<T> {
    private T t;

    public Person() {
    }

  /*  public static void show(T t) {
        System.out.println(t);
    }

    public void show2(T t) {
        try {
            System.out.println(t);
        }catch (Exception<T> ex) {

        }

    }*/

    public Person(T t) {
        this.t = t;
    }

    public T getT() {
        return t;
    }

    public void setT(T t) {
        this.t = t;
    }
}

